class inary:
    class source:
        name = "glibc"
        homepage = "http://www.gnu.org/software/libc"
        class packager:
            name = "Süleyman POYRAZ"
            email = "zaryob.dev@gmail.com"
        license = ['GPLv2', 'LGPLv2.1']
        isa = ['library']
        summary = "GNU libc6 (also called glibc2) C library"
        description = "The Glibc package contains the main C library. This library provides the basic routines for allocating memory, searching directories, opening and closing files, reading and writing files, string handling, pattern matching, arithmetic, and so on."
        archive = [
            ("c33953a648e5f6373211cc9f6d9b9647d862aa45","https://ftp.gnu.org/gnu/glibc/glibc-2.33.tar.xz"),
        ]
        builddependencies = ['linux-headers', 'gettext', 'texinfo', 'binutils']
        packages = ['pkg_glibc', 'pkg_glibc_devel', 'pkg_glibc_docs']
    class pkg_glibc:
        name = "glibc"
        runtimedependencies = []
        buildtype = "emul32"
        files = [
            ("config","/etc"),
            ("library","/lib"),
            ("executable","/usr/bin"),
            ("executable","/bin"),
            ("library","/usr/lib/*.so"),
            ("library","/usr/lib/audit"),
            ("library","/usr/lib/gconv"),
            ("library","/usr/lib/misc"),
            ("executable","/usr/sbin"),
            ("man","/usr/share/man"),
            ("localedata","/usr/share/i18n/charmaps"),
            ("localedata","/usr/share/i18n/translit_*"),
            ("localedata","/usr/lib/locale/locale-archive"),
            ("localedata","/usr/lib/locale"),
            ("localedata","/usr/share/locale"),
            ("localedata","/usr/share/locale/locale.alias"),
            ("localedata","/usr/share/i18n/locales"),
            ("executable","/sbin"),
            ("data","/var"),
            ("config","/etc/ld.so.conf.d/60-glibc-32bit.conf"),
            ("library","/usr/lib32/*.so"),
            ("library","/usr/lib32/audit"),
            ("library","/usr/lib32/gconv"),
            ("library","/usr/lib32/misc"),
            ("library","/lib32"),
            ("library","/lib/ld-linux.so.2"),
        ]
        additionalfiles = [
            ("locale-gen","root","0755","/sbin/locale-gen"),
            ("60-glibc.conf","root","0755","/etc/ld.so.conf.d/60-glibc.conf"),
        ]
    class pkg_glibc_devel:
        name = "glibc-devel"
        runtimedependencies = []
        files = [
            ("header","/usr/include"),
            ("library","/usr/lib/*.o"),
            ("library","/usr/lib32/*.o"),
            ("library","/usr/lib/*.a"),
            ("library","/usr/lib32/*.a"),
        ]
    class pkg_glibc_docs:
        name = "glibc-docs"
        runtimedependencies = []
        files = [
            ("doc","/usr/share/doc"),
            ("info","/usr/share/info"),
            ("config","/usr/lib32/glibc32.txt")
        ]
    class history:
        update = [
            ["2021-08-28","2.33","First release","Ali Rıza KESKİN","parduscix@yandex.ru"],
        ]
